package tt.com.common.enums;

import com.baomidou.mybatisplus.annotation.IEnum;
import lombok.AllArgsConstructor;
import lombok.Getter;

@AllArgsConstructor
@Getter
public enum TaskStatusEnum implements IEnum<Integer> {
    NOT_STARTED(1, "未开始"),
    NOT_DEPARTURE(2, "未出车"),
    OK_DEPARTURE(3, "已出车"),
    OK_ARRIVED(4,"已到达"),
    OK_RECEIVE(5,"已接收遗体"),
    OK_SERVICE(6,"已送达"),
    OK(7,"已完成");

    private Integer value;
    private String desc;

    @Override
    public Integer getValue(){
        return value;
    }
}
